]> dgit.raspbian.org Git - gnome-shell.git/commit
shell-app: Use container widget for fallback X11 app icons
authorJonas Dreßler <verdre@v0yd.nl>
Sun, 5 Apr 2020 18:38:21 +0000 (20:38 +0200)
committerverdre <jonas@dressler.it>
Mon, 6 Apr 2020 08:28:26 +0000 (08:28 +0000)
commit85846d88f034a605f6cb0aa013f2ab80e2f760bd
tree77b3b660101bbdae503867a755a5108d3fb69788
parent6b7c85b0797b8cbac96cc5152b94c4728fbeeb73
shell-app: Use container widget for fallback X11 app icons

Just like StIcon does, we should use a container widget for the fallback
app icon that we get using the cairo surface property. It's needed
because the widget returned by shell_app_create_icon_texture() can be
resized freely, while we want the aspect ratio of the actual texture to
remain the same.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2578
src/shell-app.c